/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.gui.servidor;

import br.gui.cliente.Hospede;
import br.gui.cliente.Hotel;
import java.io.IOException;
import java.rmi.Remote;
import java.rmi.RemoteException;

/**
 *
 * @author Anderson
 */
public interface IServidor extends Remote {
    // public void criarHospede(String cpf, String nome, String endereco, String email, String telefone)throws RemoteException, IOException;

    public void criarHospede(Hospede hospede) throws RemoteException, IOException;

    public void excluirHospede(String cpf) throws RemoteException, IOException;

    public Hotel criarHotel(String nome, String gerente, Integer numeroDeQuartos, String endereco) throws RemoteException, IOException;

    public void excluirHotel(String nome) throws RemoteException, IOException;

    public void atualizarHospede(Hospede hospede) throws RemoteException, IOException;

    public void atualizarHotel(Hotel hotel) throws RemoteException, IOException;
}
